package com.tools.dao;

import java.util.List;

import com.tools.entity.Query;

public interface QueryDao {
    
    List<Query> getAll();
    
    Query fetchById(int id);
    
    int insert(Query query);
    
    int delete(int id);
    
    int update(Query query);
    
}
